/**
  ******************************************************************************
  * File Name          : route_xc_interface.h
  * Description        : Code for data process applications
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */

#ifndef __xc_interface_H
#define __xc_interface_H

#include <stdint.h>

#define ROUTE_XC_SUBDEV_VERSION   1001

typedef enum
{
  ROUTE_PLTYP_XC_CYCLE    = 0xD1u,
  ROUTE_PLTYP_XC_SYNC     = 0xD3u,
  ROUTE_PLTYP_XC_RESET    = 0xD5u,
  ROUTE_PLTYP_XC_SETPARA  = 0xD7u,
	ROUTE_PLTYP_XC_UPDTLV0  = 0xD9u,
  ROUTE_PLTYP_XC_UPDTLV1  = 0xDBu,
}Route_PlType_Xc_Type;

typedef struct
{
  uint8_t  curt_pos;
  uint8_t  out_time;
  uint16_t up_limit;
  uint16_t curt_cod;
}Xc_UpParaType;

typedef struct
{
  uint8_t curt_pos;
  uint8_t out_time;
}Xc_SetParaType;

#endif /* __xc_interface_H */
